#if 0
#include "Log.h"

Log::Log()
{

}

Log::Log(const std::string& filename, const std::vector < Plane >& planes, const std::vector < Airport >& airports)
{
	std::ifstream log_stream(filename);
	// read the header
	std::string log_header;
	std::getline(log_stream, log_header);

	// read the entries
	std::string line;
	while (std::getline(log_stream, line))
	{
		read(line, planes, airports);
	}
	log_stream.close();
}

// TODO - I hate passing along the planes and airports vectors! Need a better way to do this
void Log::read(std::string& line, const std::vector < Plane >& planes, const std::vector < Airport >& airports)
{
	std::istringstream line_stream(line);
	if (line != "")
	{
		_entries.push_back(Entry(line_stream, planes, airports));
	}
}

Log::~Log()
{

}

const Entry& Log::operator[](int i) const
{
	return _entries[i];
}
#endif